package com.it.chinasoft.pojo;

import org.springframework.stereotype.Repository;

@Repository
public class Manager {
    private Integer mnumber;

    private String mname;

    private String mpassword;

    private Integer mgroup;

    private Integer isdelete;

    public Manager(Integer mnumber, String mname, String mpassword, Integer mgroup, Integer isdelete) {
        this.mnumber = mnumber;
        this.mname = mname;
        this.mpassword = mpassword;
        this.mgroup = mgroup;
        this.isdelete = isdelete;
    }

    public Manager() {
        super();
    }

    public Integer getMnumber() {
        return mnumber;
    }

    public void setMnumber(Integer mnumber) {
        this.mnumber = mnumber;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname == null ? null : mname.trim();
    }

    public String getMpassword() {
        return mpassword;
    }

    public void setMpassword(String mpassword) {
        this.mpassword = mpassword == null ? null : mpassword.trim();
    }

    public Integer getMgroup() {
        return mgroup;
    }

    public void setMgroup(Integer mgroup) {
        this.mgroup = mgroup;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "mnumber=" + mnumber +
                ", mname='" + mname + '\'' +
                ", mpassword='" + mpassword + '\'' +
                ", mgroup=" + mgroup +
                ", isdelete=" + isdelete +
                '}';
    }
}